package com.ervanalb.cellradio.shared.communicator;

import java.io.IOException;

import com.ervanalb.cellradio.client.SocketSource;
import com.ervanalb.cellradio.shared.communicator.packets.Packet;

/**
 * Defines a source which produces packets, most likely for a Communicator.
 * Generally, a PacketSource obtains packets from a network.
 * 
 * @author eric
 * @see Communicator
 * @see SocketSource
 */
public interface PacketSource {
	public Packet receive(long timeout) throws IOException;
}
